using QFramework;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Network : MonoSingleton<Network>
{

    // public bool connectServer;
    // public string httpUrl;
    // public string socketIP;
    // public string socketPort;

    public static HttpManager Http;
    // public static SocketManager Socket;
    void Awake()
    {
        Http = new HttpManager();
        // Socket = new SocketManager(connectServer);
    }

    void Start()
    {
        // Socket.Connect(socketIP, socketPort);
    }

    void FixedUpdate()
    {
        Http.OnUpdate();
        // Socket.OnUpdate();
    }

    protected override void OnApplicationQuit()
    {
        Http.Release();
        base.OnApplicationQuit();
    }
}